package com.crawler.utils

/**
  * Created by tongtao.zhu on 2016/12/14.
  */
object CodeGenUtils extends App{
  slick.codegen.SourceCodeGenerator.main(
    Array("slick.driver.H2Driver", "org.h2.Driver", "jdbc:h2:file:e:/db/crawler;INIT=runscript from 'src/main/resources/task.sql'",
      "./demo/Tables.scala", "com.crawler.tables")
  )

//  slick.codegen.SourceCodeGenerator.main(
//    Array("slick.driver.SQLiteDriver", "org.sqlite.JDBC", "jdbc:sqlite:./TaoBao.db",
//      "./demo/Tables.scala", "com.crawler.tables")
//  )
}
